home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr26 / netprog.zip / NETPROG.TAR / rpc.sun / timedate / Makefile < prev    next >
Makefile  |  1989-12-17  |  421b  |  26 lines

  1. #
  2. BIN = date_svc rdate
  3. GEN = date_clnt.c date_svc.c date.h
  4. LIB = ../librpclib.a
  5. RPCCOM = /usr1/stevens/bin/rpcgen
  6. CFLAGS = -I.. -O
  7.  
  8. all: $(BIN)
  9.  
  10. $(GEN):        date.x
  11.         $(RPCCOM) date.x
  12.  
  13. date_svc:    date_proc.o date_svc.o
  14.         $(CC) -o $@ date_proc.o date_svc.o $(LIB)
  15.  
  16. rdate:        rdate.o date_clnt.o
  17.         $(CC) -o $@ rdate.o date_clnt.o $(LIB)
  18.  
  19. rdate.o:    rdate.c date.h
  20.  
  21. date_proc.o:    date_proc.c date.h
  22.  
  23. clean:
  24.         rm -f $(GEN) *.o $(BIN)
  25.  
  26.